﻿// =================================================================== 
// Module说明
//====================================================================
// 创建时间：2018-12-29 10:40:19
// 负责人：lvsc
// ===================================================================
using System;
using System.Data;
using System.Collections.Generic;
using System.Linq.Expressions;
using OF.Utility;
using OF.Component.Model;
using OF.Component.IDAL;
using OF.Component.Factory;
using OF.Component.DTO;

namespace OF.Component.BLL
{
	
	/// <summary>
	///网办订单审核记录 扩展
	/// </summary>
	public partial class NetworkOrderAuditOperate
	{
        /// <summary>
    	/// 根据断言条件获取单个网办订单审核记录
    	/// </summary>
        public static NetworkOrderAuditInfo QuerySingle(Expression<Func<NetworkOrderAuditInfo, bool>> predicate)
        {
            return dal.QuerySingle(predicate);
        }
        
        /// <summary>
    	/// 根据断言条件获获取网办订单审核记录列表
    	/// </summary>
        public static IList<NetworkOrderAuditInfo> QueryList(Expression<Func<NetworkOrderAuditInfo, bool>> predicate)
        {
            return dal.QueryList(predicate);
        }

        /// <summary>
        /// 根据城市或审批
        /// </summary>
        /// <param name="orderId"></param>
        /// <returns></returns>
        public static List<NetworkOrderAuditInfo> GetListByOrder(long orderId)
        {
            return dal.GetListByOrder(orderId);
        }

        /// <summary>
        /// 根据订单查询操作记录
        /// </summary>
        /// <param name="orderId"></param>
        /// <returns></returns>
        public static List<NetworkOrderAuditDto> GetListByOrderId(long orderId)
        {
            return dal.GetListByOrderId(orderId);
        }
    }
}